<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>webpack5上手</title>
</head>
<body>
    <script src="./dist/build.js"></script>
    <!-- <script src="./src/index.js" type="module"></script> -->
    <!-- 不加type=module,会报错“Uncaught SyntaxError: Cannot use import statement outside a module” -->
</body>
</html>